// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import flexible from 'lib-flexible';
import wx from 'weixin-js-sdk';
import VueWechatTitle from 'vue-wechat-title'; 
import store from './store/store';



import { Switch,Area,Overlay,Checkbox, CheckboxGroup,Picker,RadioGroup, Radio,Popup,DatetimePicker,Dialog,Toast,Cell,CellGroup  } from 'vant';

Vue.config.productionTip = false
Vue.use(flexible).use(Switch).use(Area).use(Overlay).use(Checkbox).use(CheckboxGroup).use(Picker).use(RadioGroup).use(Radio).use(Popup).use(DatetimePicker).use(Dialog).use(Toast).use(Cell).use(CellGroup);
Vue.use(VueWechatTitle)
Vue.use(wx)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
